package com.func.infrastructure.persistent.po.strategy;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName StrategyAward
 * @Description 抽奖策略奖品明细配置 - 概率, 规则
 * @Author: func
 * @Date 2025/2/17 21:46
 * @Version 1.0
 */

@Data
public class StrategyAward {

    /** 自增ID*/
    private Long id;
    /** 抽奖策略ID*/
    private Long strategyId;
    /** 抽奖奖品ID*/
    private Integer awardId;
    /** 规则模型, rule配置规则记录*/
    private String ruleModels;
    /** 抽奖奖品标题*/
    private String awardTitle;
    /** 抽奖奖品副标题*/
    private String awardSubtitle;
    /** 奖品库存总量*/
    private Integer awardCount;
    /** 奖品库存剩余*/
    private Integer awardCountSurplus;
    /** 中奖概率*/
    private BigDecimal awardRate;
    /** 奖品在转盘上的排序*/
    private Integer sort;
    /** 创建时间*/
    private Date createTime;
    /** 更新时间*/
    private Date updateTime;
}
